package org.fanximall.erp.system.infrastructure.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author      :  william
 * @version     :  V1.0  created in 2024/4/19
 */
/**
    * 角色和菜单关联表
    */
@Getter
@Setter
@ToString
@TableName(value = "sys_role_menu")
public class SysRoleMenuDO implements Serializable {
    /**
     * 角色ID
     */
    @TableId(value = "role_id", type = IdType.AUTO)
    private Long roleId;

    /**
     * 菜单ID
     */
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Long menuId;

    private static final long serialVersionUID = 1L;
}